package com.woniuxy.java106crm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Customer {
    private String id;
    private String customerName;
    private String city;
    //客户经理
    private String manager;
    //客户等级
    private String grade;
    //客户满意度
    private Integer satisfaction;
    //客户信誉度
    private Integer credibility;
    //该公司的详细地址
    private String address;
    //客户邮编
    private String postCode;
    //客户传真
    private String fax;
    //办公室电话
    private String phone;
    //网址
    private String URL;
    //营业执照编号
    private String licenseCode;
    //法人
    private String legalPerson;
    //注册资金
    private Integer registerMoney;
    //年营业额
    private Integer salesVolume;
    //流失状态
    private String status;
    //确认流失状态
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

}
